package com.amithkoujalgi.myapp.core;

public class AppContext {
	private static AppContext instance;
	private User user;

	private AppContext() {
	}

	public static synchronized AppContext getInstance() {
		if (instance == null) {
			instance = new AppContext();
		}
		return instance;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public User getUser() {
		return user;
	}
}
